﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet"
			href="/static/css/table.css" type="text/css">
		<script type="text/javascript"
			src="/static/javascript/comm/comm.js">
		</script>
		<script language="javascript"
			src="/static/javascript/winopen/winopenm.js">
		</script>
		<!--以下3个js库必须按照顺序引入-->
		<!--vue脚本库-->
		<script type="text/javascript"
				src="/static/js/vue-3.2.4.global.js">
			<!--axios脚本库-->
		</script>
		<script type="text/javascript"
				src="/static/js/axios-0.18.0.min.js">
		</script>
		<!--我们自己封装的axios函数库 -->
		<script type="text/javascript"
				src="/static/js/axios-helper.js">
		</script>
	</head>
	<body id="app">

		<form method="post" action="success.html">
			<table width="100%">
				<tr>
					<td>
						<font color="black">您正在做的业务是：人力资源--人力资源档案管理--人力资源档案恢复 </font>
					</td>
				</tr>
				<tr>
					<td align="right">
						<input type="button" value="恢复" class="BUTTON_STYLE1" @click="sc()"/>
						<input type="button" value="返回" class="BUTTON_STYLE1"
							   onclick="history.back()">
					</td>
				</tr>
			</table>
			<table width="100%" border="1" cellpadding=3 cellspacing=1
				   bordercolorlight=#848284 bordercolordark=#eeeeee
				   class="TABLE_STYLE1">
				<tr>
					<td class="TD_STYLE1" width="10%">
						档案编号
					</td>
					<td colspan="6" class="TD_STYLE2">
						{{humanFileDig.hufid}}
					</td>
					<td rowspan="6" width="13%" style="text-align: center;">
						<img src="/static/images/regular.jpg"  style="width:120px;height:150px;"/>
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1" width="10%">
						I级机构
					</td>
					<td width="13%" class="TD_STYLE2">
						{{humanFileDig.firstKindName}}
					</td>
					<td width="10%" class="TD_STYLE1">
						II级机构
					</td>
					<td width="13%" class="TD_STYLE2">
						{{humanFileDig.secondKindName}}
					</td>
					<td width="10%" class="TD_STYLE1">
						III级机构
					</td>
					<td class="TD_STYLE2" colspan="2" width="2%">
						{{humanFileDig.thirdKindName}}
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						职位分类
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.humanMajorKindName}}
					</td>
					<td class="TD_STYLE1">
						职位名称
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.hunmaMajorName}}
					</td>
					<td class="TD_STYLE1">
						职称
					</td>
					<td colspan="2" class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						姓名
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.humanName}}
					</td>
					<td class="TD_STYLE1">
						性别
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.humanSex}}
					</td>
					<td class="TD_STYLE1">
						EMAIL
					</td>
					<td colspan="2" class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						电话
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						QQ
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						手机
					</td>
					<td colspan="2" class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						住址
					</td>
					<td colspan="3" class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						邮编
					</td>
					<td colspan="2" class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						国籍
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						出生地
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						生日
					</td>
					<td width="13%" class="TD_STYLE2">
						{{humanFileDig.humanBirthday}}
					</td>
					<td width="10%" class="TD_STYLE1">
						民族
					</td>
					<td class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						宗教信仰
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						政治面貌
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						身份证号码
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.humanIdCard}}
					</td>
					<td class="TD_STYLE1">
						{{humanFileDig.humanSocietySecurityId}}
					</td>
					<td class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						年龄
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						学历
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						教育年限
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						学历专业
					</td>
					<td class="TD_STYLE2">

					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						薪酬标准
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						开户行
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						帐号
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						复核人
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.register}}
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						复核时间
					</td>
					<td class="TD_STYLE2">
						{{humanFileDig.checkTime }}
					</td>
					<td class="TD_STYLE1">
						特长
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						爱好
					</td>
					<td class="TD_STYLE2">

					</td>
					<td class="TD_STYLE1">
						&nbsp;
					</td>
					<td class="TD_STYLE2">
						&nbsp;
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						档案附件
					</td>
					<td colspan="7" class="TD_STYLE2">
						<a href="#"></a>
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						个人履历
					</td>
					<td colspan="7" class="TD_STYLE2">
						<textarea name="item.humanHistroyRecords" rows="4"
								  class="TEXTAREA_STYLE1" readonly="readonly" v-model="humanFileDig.humanHistroyRecords"></textarea>
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						家庭关系信息
					</td>
					<td colspan="7" class="TD_STYLE2">
						<textarea name="item.humanFamilyMembership" rows="4"
								  class="TEXTAREA_STYLE1" readonly="readonly" v-model="humanFileDig.humanFamilyMembership"></textarea>
					</td>
				</tr>
				<tr>
					<td class="TD_STYLE1">
						备注
					</td>
					<td colspan="7" class="TD_STYLE2">
						<textarea name="item.remark" rows="4" class="TEXTAREA_STYLE1" readonly="readonly"
								  v-model="humanFileDig.remark"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script type="module">
		Vue.createApp({
			data(){
				return {
					//准备一个对象
					humanFileDig: {
						hufid: null,

						humanId: null,

						firstKindId: null,

						firstKindName: null,

						secondKindId: null,

						secondKindName: null,

						thirdKindId: null,

						thirdKindName: null,
						//姓名
						humanName: null,

						humanAddress: null,

						humanPostcode: null,

						humanProDesignation: null,

						humanMajorKindId: null,

						humanMajorKindName: null,

						humanMajorId: null,

						hunmaMajorName: null,

						humanTelephone: null,

						humanMobilephone: null,

						humanBank: null,

						humanAccount: null,

						humanQq: null,

						humanEmail: null,

						humanHobby: null,

						humanSpeciality: null,

						humanSex: null,

						humanReligion: null,

						humanParty: null,

						humanNationality: null,

						humanRace: null,

						humanBirthday: null,

						humanBirthplace: null,

						humanAge: null,

						humanEducatedDegree: null,

						humanEducatedYears: null,

						humanEducatedMajor: null,
						// 社会保障号
						humanSocietySecurityId: null,
						// 身份证号
						humanIdCard: null,
						// 备注
						remark: null,

						salaryStandardId: null,

						salaryStandardName: null,

						salarySum: null,

						demandSalaraySum: null,

						paidSalarySum: null,

						majorChangeAmount: null,

						bonusAmount: null,

						trainingAmount: null,

						fileChangAmount: null,
						// 简历
						humanHistroyRecords: null,
						// 家庭关系
						humanFamilyMembership: null,

						humanPicture: null,

						attachmentName: null,

						checkStatus: null,
						// 档案登记人
						register: null,

						checker: null,

						changer: null,

						registTime: null,

						checkTime: null,

						changeTime: null,

						lastlyChangeTime: null,

						deleteTime: null,

						recoveryTime: null,

						humanFileStatus: null
					}
				}
			},
			created(){
				requestGet("/humanFileDig/queryById",{
					hufid:sessionStorage.getItem("hId")
				}).then((data)=>{
					this.humanFileDig = data;
					// console.info("*** humanFileDig",this.humanFileDig);
				});
			},
			methods:{
				sc(){
					this.humanFileDig.humanFileStatus = 1;
					requestPostman("/humanFileDig/save",this.humanFileDig)
							.then((data)=>{
								console.info("*** humanFileDig",this.humanFileDig)
								console.info("*** data",data)
								if(data.statusCode == 1){
									alert("恢复啦，吊毛下次注意点");
								}else{
									alert("失败了，请稍后......");
								}
							});
				}
			}
		}).mount("#app");
	</script>
</html>
